PyTorchKR Papers

업데이트된 논문

총 29편
태그·기간 등 상세 필터

카테고리 탐색

로그인 후 이 카테고리 구독

arXiv:2505.23281v4cs.AI공식 코드 · Papers with Code

MathArena: Evaluating LLMs on Uncontaminated Math Competitions

The rapid advancement of reasoning capabilities in large language models (LLMs) has led to notable improvements on mathematical benchmarks. However, many of the most commonly used evaluation datasets (e.g., AIME 2024) are widely available online, making it difficult to disentangle genuine reasoning from potential memorization. Furthermore, these benchmarks do not evaluate proof-writing capabilities, which are crucial for many mathematical tasks. To address this, we introduce MathArena, a new benchmark based on the following key insight: recurring math competitions provide a stream of high-quality, challenging problems that can be used for real-time evaluation of LLMs. By evaluating models as soon as new problems are released, we effectively eliminate the risk of contamination. Using this framework, we find strong signs of contamination in AIME 2024. Nonetheless, evaluations on harder competitions, such as CMIMC 2025, demonstrate impressive reasoning capabilities in top-performing models. MathArena is also the first benchmark for proof-writing capabilities. On IMO 2025, top models achieve slightly less than 40%, demonstrating both notable progress and significant room for improvement. So far, we have evaluated over $50$ models across seven competitions, totaling $162$ problems. As an evolving benchmark, MathArena will continue to track the progress of LLMs on newly released competitions, ensuring rigorous and up-to-date evaluation of mathematical reasoning.

arXiv:2505.16743v3cs.CL공식 코드 · Papers with Code

TRIM: Achieving Extreme Sparsity with Targeted Row-wise Iterative Metric-driven Pruning

Large language models (LLMs) present substantial computational and memory challenges. Existing one-shot pruning methods often use a uniform sparsity target for all rows within a layer, which can be too coarse at high sparsity. This work introduces TRIM (Targeted Row-wise Iterative Metric-driven pruning), a forward-statistics-based wrapper that allocates different sparsity ratios to individual output rows while keeping model weights frozen. TRIM separates the choice of which weights to prune (scoring) from how many to prune in each row (allocation), and composes with existing scorers and layer-wise allocations. Across Qwen2.5, LLaMA-2, and OPT models, its largest gains occur at 70-80% sparsity. At 80%, adding TRIM to OWL reduces WikiText-2 perplexity from 348.48 to 180.67 for Qwen2.5-14B and from 6461.43 to 324.14 for OPT-13B. We conclude that fine-grained, row-wise allocation is an effective mechanism for substantially improving one-shot pruning quality in the extreme-sparsity regime. Code: https://github.com/flobk/TRIM.

arXiv:2411.14062v3cs.CV공식 코드 · Papers with Code

MMGenBench: An Automated Pipeline for Evaluating LMMs from a Text-to-Image Generation Perspective

Existing benchmarks often rely on predefined questions or reference captions, limiting their flexibility for evaluating detailed descriptions on new image collections. We present MMGenBench, an automated benchmark framework for evaluating Large Multimodal Models (LMMs) from raw images without per-image questions or reference captions. The pipeline generates descriptions, reconstructs images with a frozen text-to-image model, and compares the original and reconstructed images using a frozen image encoder. It produces reusable per-image scores and inspectable reconstructions, supporting both model comparison and diagnosis of reconstructible visual information. We construct MMGenBench-Domain with 10,000 generated images and MMGenBench-Test with 1,284 images spanning 13 overlapping visual patterns. Evaluation of 68 LMMs reveals pattern-specific differences in reconstruction quality that overall scores can obscure. On 1,000 human-labeled caption pairs from six models, the default score achieves 90.00\% sample-level agreement. Factual perturbations and component analyses characterize the score's sensitivity under the evaluated pipeline, while a COCO study provides initial validation on natural photographs. MMGenBench complements existing benchmarks by linking automated comparisons to visual evidence of the information preserved in LMM descriptions. Project page: https://github.com/lerogo/MMGenBench.

arXiv:2505.21956v4cs.CV공식 코드 · Papers with Code

Cross-modal RAG: Sub-dimensional Text-to-Image Retrieval-Augmented Generation

Text-to-image generation increasingly demands access to domain-specific, fine-grained, and rapidly evolving knowledge that pretrained models cannot fully capture, necessitating the integration of retrieval methods. Existing Retrieval-Augmented Generation (RAG) methods attempt to address this by retrieving globally relevant images, but they fail when no single image contains all desired elements from a complex user query. We propose Cross-modal RAG, a novel framework that decomposes both queries and images into sub-dimensional components, enabling subquery-aware retrieval and generation. Our method introduces a hybrid retrieval strategy, combining a sub-dimensional sparse retriever with a dense retriever, to identify a Pareto-optimal set of images, each contributing complementary aspects of the query. During generation, a multimodal large language model is guided to selectively condition on relevant visual features aligned to specific subqueries for subquery-aware image synthesis. Extensive experiments on MS-COCO, Flickr30K, WikiArt, CUB, and ImageNet-LT demonstrate that Cross-modal RAG significantly outperforms existing baselines in the retrieval and further contributes to generation quality, while maintaining high efficiency.

arXiv:2501.14851v3cs.CL공식 코드 · Papers with Code

JustLogic: A Comprehensive Benchmark for Evaluating Deductive Reasoning in Large Language Models

Logical reasoning is a critical component of Large Language Models (LLMs), and substantial research efforts in recent years have aimed to enhance their deductive reasoning abilities. However, existing deductive reasoning benchmarks suffer from significant constraints that restrict their utility, i.e., the lack of task complexity, the presence of prior knowledge as a confounder, and superficial error analysis. To address these deficiencies, we introduce JustLogic, a synthetically generated benchmark for evaluating deduction in propositional logic. Within this fragment, JustLogic is (i) complex, capable of generating a diverse range of linguistic patterns, vocabulary, and argument structures, (ii) prior knowledge independent, substantially reducing the advantage of models possessing prior knowledge so that questions are answerable from the given premises alone, and (iii) capable of in-depth error analysis on the heterogeneous effects of proof size and argument form on model accuracy. Our experimental results on JustLogic reveal that (i) several state-of-the-art (SOTA) reasoning LLMs score above the human average on JustLogic, although only DeepSeek R1's margin is significant on the matched items after correction for multiple comparisons, and (ii) the evaluated non-reasoning models score below the human average. Given the small human study (18 participants, seven questions each), these comparisons are indicative. All code and data are available at https://github.com/michaelchen-lab/JustLogic

arXiv:2411.19906v4quant-ph공식 코드 · Papers with Code

A characteristic-graph reduction for deterministic L-system inference with classical and quantum-heuristic solvers

L-systems are widely used to model and simulate biological growth processes, including plant development. Motivated by the broader goal of automating L-system construction, this paper studies the formal deterministic context-free L-system (D0L-system) inference problem in which the input is a finite, noise-free sequence of strings. We introduce the characteristic graph of a string sequence and prove that the existence of a compatible D0L-system is equivalent to the existence of an independent set of a prescribed size in this graph. This gives polynomial reductions from D0L inference to maximum independent set (MIS) and SAT, and hence an exact classical decision route when combined with an exact MIS or SAT solver. We also describe a Quantum Approximate Optimization Algorithm (QAOA)-based quantum heuristic for generating candidate independent sets. This heuristic is not a decision procedure for D0L inference, and failure of the heuristic is inconclusive rather than a certificate of nonexistence. We include computational validation on $22$ generated D0L traces and $8$ negative controls, explicitly incorporate known fixed-identity symbols, and report small statevector QAOA simulations. The quantum component is presented as a proof-of-concept candidate generator, not as a claimed quantum speedup; the immediately useful contribution is the characteristic-graph reduction and the exact classical/SAT decision framework it enables.

arXiv:2501.02518v3cs.CL공식 코드 · Papers with Code

CHAIR -- Classifier of Hallucination as Improver

In this work, we introduce CHAIR (Classifier of Hallucination As ImproveR), a supervised framework for detecting hallucinations by analyzing internal logits from each layer of every token. Our method extracts a compact set of features such as maximum, minimum, mean, standard deviation, and slope-from the token logits across all layers, enabling effective hallucination detection without overfitting. Experiments on TruthfulQA and MMLU datasets demonstrate that CHAIR significantly improves detection accuracy, particularly in zero-shot scenarios, showcasing its robustness and generalizability. Beyond hallucination detection, CHAIR highlights the potential of using internal representations for designing advanced decoding strategies. By leveraging patterns in logits, we suggest that more sophisticated models and adaptive decoding methods could further reduce hallucinations and enhance text completion quality. CHAIR not only offers a practical solution for detecting hallucinations but also lays the groundwork for exploring richer representations in LLMs to improve their factuality and coherence.

arXiv:2503.01935v2cs.MA공식 코드 · Papers with Code

MultiAgentBench: LLM 에이전트의 협업과 경쟁 평가

MultiAgentBench: Evaluating the Collaboration and Competition of LLM agents

대규모 언어 모델(LLM)은 자율 에이전트로서 뛰어난 능력을 보였지만, 기존 벤치마크는 단일 에이전트 과업에 초점을 맞추거나 좁은 영역에 국한되어 다중 에이전트 조율과 경쟁의 역학을 포착하지 못한다. 본 논문에서는 다양한 상호작용 시나리오에 걸쳐 LLM 기반 다중 에이전트 시스템을 평가하도록 설계된 포괄적 벤치마크인 MultiAgentBench를 소개한다. 우리의 프레임워크는 과업 완수뿐 아니라 협업과 경쟁의 질도 새로운 마일스톤 기반 핵심 성과 지표로 측정한다. 또한 스타, 체인, 트리, 그래프 토폴로지를 포함한 다양한 조율 프로토콜과 그룹 토론, 인지적 계획과 같은 혁신적인 전략을 평가한다. 특히 gpt-4o-mini가 평균 최고 과업 점수에 도달하고, 연구 시나리오에서 조율 프로토콜 중 그래프 구조가 가장 우수한 성능을 보였으며, 인지적 계획은 마일스톤 달성률을 3% 향상시킨다. 코드와 데이터셋은 https://github.com/MultiagentBench/MARBLE 에서 공개되어 있다.

arXiv:2110.08294v3cs.CL공식 코드 · Papers with Code

일관성 강화: 사전 학습된 언어 모델이 충분히 주의를 기울이지 않을 때

Coherence boosting: When your pretrained language model is not paying enough attention

장거리 의미적 일관성은 자동 언어 생성과 이해에서 여전히 과제로 남아 있다. 우리는 대규모 언어 모델이 먼 단어가 다음 토큰 예측에 미치는 영향을 충분히 학습하지 못했음을 보인다. 우리는 언어 모델이 긴 문맥에 두는 초점을 높이는 추론 절차인 일관성 강화(coherence boosting)를 제시한다. 일반 텍스트와 대화 응답의 생성 결과에 대한 분포 분석을 통해 사전 학습된 모델에서 일관성 강화의 이점을 보인다. 또한 다양한 제로샷 NLP 과제에서 최신 모델에 일관성 강화를 적용하면 추가 학습 없이도 성능이 향상됨이 확인되었다.

arXiv:2507.02844v3cs.CV공식 코드 · Papers with Code

Visual Contextual Attack: Jailbreaking MLLMs with Image-Driven Context Injection

With the emergence of strong vision language capabilities, multimodal large language models (MLLMs) have demonstrated tremendous potential for real-world applications. However, the security vulnerabilities exhibited by the visual modality pose significant challenges to deploying such models in open-world environments. Recent studies have successfully induced harmful responses from target MLLMs by encoding harmful textual semantics directly into visual inputs. However, in these approaches, the visual modality primarily serves as a trigger for unsafe behavior, often exhibiting semantic ambiguity and lacking grounding in realistic scenarios. In this work, we define a novel setting: vision-centric jailbreak, where visual information serves as a necessary component in constructing a complete and realistic jailbreak context. Building on this setting, we propose the VisCo (Visual Contextual) Attack. VisCo fabricates contextual dialogue using four distinct vision-focused strategies, dynamically generating auxiliary images when necessary to construct a vision-centric jailbreak scenario. To maximize attack effectiveness, it incorporates automatic toxicity obfuscation and semantic refinement to produce a final attack prompt that reliably triggers harmful responses from the target black-box MLLMs. Specifically, VisCo achieves a toxicity score of 4.78 and an Attack Success Rate (ASR) of 85% on MM-SafetyBench against GPT-4o, significantly outperforming the baseline, which achieves a toxicity score of 2.48 and an ASR of 22.2%. Code: https://github.com/Dtc7w3PQ/Visco-Attack.

arXiv:2407.01602v3cs.CL공식 코드 · Papers with Code

순수 어텐션 하드맥스 트랜스포머의 군집화와 감성 분석에서의 역할

Clustering in pure-attention hardmax transformers and its role in sentiment analysis

트랜스포머는 매우 성공적인 기계학습 모델이지만 그 수학적 성질은 여전히 잘 이해되지 않고 있다. 본 연구에서는 하드맥스 셀프 어텐션과 정규화 서브레이어를 갖는 트랜스포머의 층 수가 무한대로 갈 때의 거동을 엄밀하게 규명한다. 이러한 트랜스포머를 유클리드 공간에서 점들의 진화를 기술하는 이산 시간 동역학계로 보고, 초평면 분리에 기반한 셀프 어텐션 메커니즘의 기하학적 해석을 활용하여, 트랜스포머 입력이 \textit{리더}라 불리는 특별한 점들에 의해 결정되는 군집 평형으로 점근적으로 수렴함을 보인다. 이어서 이러한 이론적 이해를 활용하여 완전히 해석 가능한 트랜스포머 모델로 언어 처리의 감성 분석 문제를 해결하는데, 이 모델은 의미 없는 단어들을 가장 많은 의미를 지닌 리더 단어 주위로 군집화함으로써 '문맥'을 효과적으로 포착한다. 마지막으로, 트랜스포머의 수학적 분석과 실제 구현 사이의 간극을 메우기 위해 남은 과제들을 개괄한다.

arXiv:2506.02479v3cs.CR공식 코드 · Papers with Code

BitBypass: A New Direction in Jailbreaking Aligned Large Language Models with Bitstream Camouflage

The inherent risk of generating harmful and unsafe content by Large Language Models (LLMs), has highlighted the need for their safety alignment. Various techniques like supervised fine-tuning, reinforcement learning from human feedback, and red-teaming were developed for ensuring the safety alignment of LLMs. However, the robustness of these aligned LLMs is always challenged by adversarial attacks that exploit unexplored and underlying vulnerabilities of the safety alignment. In this paper, we develop a novel black-box jailbreak attack, called BitBypass, that leverages hyphen-separated bitstream camouflage for jailbreaking aligned LLMs. This represents a new direction in jailbreaking by exploiting fundamental information representation of data as continuous bits, rather than leveraging prompt engineering or adversarial manipulations. Our evaluation of five state-of-the-art LLMs, namely GPT-4o, Gemini 1.5, Claude 3.5, Llama 3.1, and Mixtral, in adversarial perspective, revealed the capabilities of BitBypass in bypassing their safety alignment and tricking them into generating harmful and unsafe content. Further, we observed that BitBypass outperforms several state-of-the-art jailbreak attacks in terms of stealthiness and attack success. Overall, these results highlights the effectiveness and efficiency of BitBypass in jailbreaking these state-of-the-art LLMs.

arXiv:2501.13946v2cs.CL공식 코드 · Papers with Code

에이전트 기반 AI 자연어 프레임워크를 활용한 환각 완화

Hallucination Mitigation using Agentic AI Natural Language-Based Frameworks

환각은 생성형 AI의 중대한 과제로 남아 있으며, AI 시스템에 대한 신뢰와 신뢰성을 훼손한다. 본 연구는 여러 전문 AI 에이전트를 조율하는 방식이 환각을 어떻게 완화할 수 있는지를 조사하며, 에이전트 간 상호작용에 자연어 처리(NLP)를 사용하는 시스템에 초점을 둔다. 우리는 환각을 유도하도록 의도적으로 설계된 310개의 프롬프트를 프런트엔드 에이전트에 입력하고, 그 출력을 검증되지 않은 주장을 탐지하고 명시적 면책 문구를 추가하며 추측성 내용을 명확히 하는 2단계 및 3단계 에이전트가 검토하고 개선하는 파이프라인을 설계한다. 우리는 사실 주장 밀도, 사실 근거 참조, 허구 면책 문구 빈도, 명시적 맥락화 점수라는 네 가지 새로운 핵심 성과 지표(KPI)를 도입하며, 이를 종합하여 총 환각 점수(THS)로 산출하고 전담 4단계 평가자 에이전트가 평가한다. 에이전트 간 맥락은 Open Floor Protocol(OFP, 구 OVON, Open Voice Network)이 전달하며, 그 구조화된 JSON 메시지를 통해 각 검토자는 환각 가능성에 대한 평가와 그 근거를 다음 단계로 전달한다. 310개 프롬프트 전체에서 THS는 프런트엔드 에이전트에서 최종 검토자까지 프롬프트당 평균 -0.131 개선되었으며(Cohen's d = 2.38), 310개 중 302개의 프롬프트에서 점수가 낮아졌다. 이러한 개선은 주로 명시적 면책 문구와 맥락화에서 비롯되며, 추측성 내용을 더 투명하게 하고 사실 주장과 명확히 구분되게 한다. 결과는 구조화된 NLP 기반 메타 정보 교환을 활용한 다중 에이전트 조율이 AI 생성 응답의 인식론적 틀을 크게 강화하고 설명 가능성을 향상시킬 수 있음을 보여준다.

arXiv:2412.04236v3cs.LG공식 코드 · Papers with Code

콜롬비아 70년 철학의 지도화: Ideas y Valores의 동적 토픽 모델링

Mapping Seven Decades of Philosophy in Colombia: Dynamic Topic Modelling of Ideas y Valores

데이터 기반 접근법은 철학 분야의 역사를 연구하는 유용한 도구로 부상하였다. 그러나 이 영역의 대부분의 연구는 특정 지역과 하위 분야의 제한된 수의 학술지에 초점을 맞추어 왔다. 우리는 동적 토픽 모델링 기법을 적용하여 콜롬비아와 라틴아메리카의 철학사를 탐구함으로써 이 연구의 범위를 확장한다. 본 연구는 1951년에 창간되어 현재 이 지역에서 가장 영향력 있는 철학 학술지 중 하나인 콜롬비아 철학 학술지 Ideas y Valores를 검토한다. 학술지의 역사 전반에 걸친 토픽의 변화를 분석함으로써, 콜롬비아 및 라틴아메리카 맥락의 철학 담론에서 나타나는 다양한 경향과 특정한 역학을 식별한다. 연구 결과, 가장 두드러진 토픽은 (윤리학, 정치철학, 미학을 포함하는) 가치론, 인식론, 과학철학임이 드러난다. 또한 새로운 입장을 제시하기보다 특정 철학자의 저작을 해석하는 데 초점을 둔 논문의 변화를 추적하며, 학술지 존속 기간 전반에 걸쳐 여러 토픽에서 칸트, 후설, 헤겔과 같은 독일 철학자들이 두드러지게 강조됨을 확인한다. 보다 독창적이고 주석 중심이 아닌 철학을 지향한 학술지의 창간 취지를 고려하여, 주석적 토픽이 시간이 지나면서 상대적으로 덜 두드러지게 되었는지를 조사한다. 우리의 분석은 그러한 토픽의 유의미한 감소가 없음을 시사한다. 마지막으로, 이 연구를 다른 라틴아메리카 학술지로 확장하기 위한 아이디어를 제안하고 비영어권 언어의 자연어 처리 워크플로 개선 방안을 제시한다.

arXiv:2410.13013v2cs.CL공식 코드 · Papers with Code

LEGAL-UQA: 영어-우르두어 병렬 벤치마크로 우르두어 화자를 위한 헌법 질의응답 시스템 시험하기

LEGAL-UQA: Testing Constitutional Question-Answering Systems for Urdu Speakers with a Parallel English-Urdu Benchmark

법률 정보 어시스턴트는 우르두어 화자가 자신의 헌법적 권리를 이해하도록 도울 수 있으나, 신뢰할 수 있는 시스템을 구축하려면 해당 언어에 적합한 시험 데이터와 평가 방법이 필요하다. 우리는 파키스탄 헌법의 구절과 연결된 619개의 질문-답변 쌍으로 구성된 영어-우르두어 병렬 벤치마크인 LEGAL-UQA를 제시한다. 각 예시는 질문, 참조 답변, 출처 구절을 두 언어로 모두 포함한다. 우리는 두 가지 구성요소를 별도로 평가한다. 하나는 출처 구절이 주어졌을 때 우르두어 질문에 답하는 것이고, 다른 하나는 각 질문이 생성된 출처 구절을 검색하는 것이다. 또한 자동 판정자로 사용되는 의사결정 모델인 JEV를 사람의 채점과 비교한다. 연구 결과, 모델 순위는 답변 유사도를 측정하는 방식에 따라 달라지며, 단순한 단어 매칭 방법이 시험한 임베딩 방법보다 출처 구절을 더 효과적으로 검색한다. 평가된 임계값에서 JEV는 모든 답변에 만점을 부여하는 기준선보다 사람의 채점과 덜 자주 일치한다. 또한 감사를 통해 생성된 참조 답변이 출처가 뒷받침하는 정보를 누락한 사례도 확인된다. 종합하면 이러한 결과는 우르두어 화자를 위한 법률 QA 소프트웨어를 설계할 때 검색과 답변을 별도로 시험하고, 단순한 검색 기준선을 포함하며, 자동 판정자와 참조 답변을 사람의 검토로 검증할 필요가 있음을 강조한다.

arXiv:2406.15877v5cs.SE공식 코드 · Papers with Code

BigCodeBench: 다양한 함수 호출과 복잡한 지시를 통한 코드 생성 벤치마킹

BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions

과업 자동화는 소프트웨어 공학 개발부터 범용 추론에 이르는 과업에서 Python 코드를 통한 대규모 언어 모델(LLM)의 최근 발전으로 크게 강화되었다. 현재의 벤치마크는 LLM이 인간 개발자처럼 프로그램을 이용하여 과업을 해결할 수 있음을 보여 주었으나, 대부분의 평가는 짧고 독립적인 알고리즘 과업이나 단독 함수 호출에 한정된다. 어렵고 실용적인 과업을 해결하려면 데이터 분석과 웹 개발 같은 기능을 효율적으로 구현하기 위해 다양한 함수 호출을 도구로 활용하는 능력이 필요하다. 또한 여러 도구를 사용하여 하나의 과업을 해결하려면 복잡한 지시를 정확히 이해하는 조합적 추론이 필요하다. 이 두 가지 특성을 모두 충족하는 것은 LLM에게 큰 도전이 될 수 있다. LLM이 프로그램을 통해 어렵고 실용적인 과업을 얼마나 잘 해결할 수 있는지 평가하기 위해, 우리는 7개 도메인의 139개 라이브러리에서 여러 함수 호출을 도구로 호출하도록 LLM에 요구하는 1,140개의 세분화된 과업으로 구성된 벤치마크 BigCodeBench를 소개한다. LLM을 엄밀하게 평가하기 위해 각 과업은 평균 분기 커버리지 99%의 테스트 케이스 5.6개를 포함한다. 또한 원래의 docstring을 필수 정보만 담은 짧은 지시문으로 자동 변환하는, 자연어 중심의 BigCodeBench 변형인 BigCodeBench-Instruct를 제안한다. 60개 LLM에 대한 광범위한 평가 결과, LLM은 아직 복잡한 지시를 따라 함수 호출을 정확하게 사용하지 못하며, 최대 60%의 점수로 97%의 인간 성능보다 크게 낮다. 이 결과는 이 분야의 추가적인 발전이 필요함을 강조한다.

arXiv:2401.00788v2cs.CL공식 코드 · Papers with Code

Astraios: 코드 대규모 언어 모델의 매개변수 효율적 지시 튜닝

Astraios: Parameter-Efficient Instruction Tuning Code Large Language Models

대규모 언어 모델(LLM)의 전체 매개변수 미세조정(FFT)에 드는 높은 비용으로 인해 일련의 매개변수 효율적 미세조정(PEFT) 방법이 등장하였다. 그러나 모델 규모별로 어떤 방법이 최선의 비용 대비 성능 균형을 제공하는지는 여전히 불분명하다. 본 논문에서는 7가지 튜닝 방법과 최대 160억 매개변수에 이르는 4가지 모델 크기를 사용한 28개의 지시 튜닝 OctoCoder 모델 모음인 Astraios를 소개한다. 코드 이해와 코드 생성 과제를 모두 포괄하는 5개 과제와 8개의 서로 다른 데이터셋에 걸친 조사를 통해, FFT가 모든 규모에서 대체로 최고의 다운스트림 성능을 보이며 PEFT 방법들은 모델 규모에 따라 효과가 크게 다르다는 것을 확인하였다. LoRA는 대체로 비용과 성능 간 가장 유리한 균형을 제공한다. 이러한 방법들이 모델의 견고성과 코드 보안에 미치는 영향을 추가로 조사한 결과, 더 큰 모델일수록 견고성이 낮아지고 보안성도 떨어지는 경향이 있음이 드러났다. 마지막으로 갱신된 매개변수, 교차 엔트로피 손실, 과제 성능 간의 관계를 탐구한다. 작은 모델에서 관찰된 튜닝 효과가 더 큰 모델로 잘 일반화되며, 지시 튜닝의 검증 손실이 전반적인 다운스트림 성능의 신뢰할 만한 지표가 될 수 있음을 확인하였다.

arXiv:2209.07351v4cs.CL공식 코드 · Papers with Code

기계 번역 평가를 위한 왕복 번역의 재고찰

Rethinking Round-Trip Translation for Machine Translation Evaluation

저자원 언어 번역에 대한 자동 평가는 병렬 코퍼스의 부족으로 어려움을 겪는다. 왕복 번역은 병렬 평가 코퍼스의 필요성을 완화하는 영리하고 간단한 기법으로 활용될 수 있다. 그러나 통계적 기계 번역(SMT) 시대에는 정방향 번역과 왕복 번역에 의한 평가 점수 간의 상관관계가 불분명하다는 관찰이 있었다. 본 논문에서는 왕복 번역이 참조 없이도 자동 평가에 사용될 수 있다는 놀라운 발견을 보고한다. 먼저 SMT 평가에서 왕복 번역을 다시 살펴본 결과, 오랫동안 이어져 온 오해가 본질적으로 복사 메커니즘에서 비롯되었음을 밝힌다. SMT에서 복사 메커니즘을 제거하면 왕복 번역 점수가 정방향 번역 성능을 적절히 반영한다. 이어서 왕복 번역이 여러 기계 번역 평가 과제에 도움이 될 수 있으므로 이러한 바로잡음이 늦었음을 보인다. 구체적으로, 왕복 번역은 i) 해당 정방향 번역 점수를 예측하고, ii) 최근 발전된 품질 추정 모델의 성능을 향상시키며, iii) 시스템 간 교차 검증을 통해 공동 과제에서 적대적 경쟁 시스템을 식별하는 데 사용될 수 있다.

arXiv:2406.04428v3cs.CL공식 코드 · Papers with Code

MoralBench: 대규모 언어 모델의 도덕성 평가

MoralBench: Moral Evaluation of LLMs

빠르게 발전하는 인공지능 분야에서 대규모 언어 모델(LLM)은 자연어 처리부터 의사결정 지원 시스템에 이르기까지 수많은 응용을 위한 강력한 도구로 부상하였다. 그러나 이러한 모델이 사회 구조에 점점 더 통합됨에 따라, 모델이 윤리적·도덕적 경계 내에서 작동하도록 보장해야 할 필요성은 그 어느 때보다 중요해졌다. 본 논문은 LLM의 도덕적 추론 능력을 측정하고 비교하기 위해 설계된 새로운 벤치마크를 소개한다. 우리는 LLM 출력의 도덕적 차원을 탐구하기 위해 특별히 구성된 최초의 포괄적 데이터셋을 제시하며, 이는 현실 세계의 복잡성을 반영하는 폭넓은 윤리적 딜레마와 시나리오를 다룬다. 본 연구의 주된 기여는 LLM의 도덕적 정체성을 평가하기 위한 벤치마크 데이터셋과 지표를 개발한 데 있으며, 이는 미묘한 뉘앙스, 맥락 민감성, 인간의 윤리 기준과의 정렬을 고려한다. 우리의 방법론은 정량적 분석과 윤리학자의 정성적 통찰을 결합한 다각적 접근으로 모델 성능을 철저히 평가한다. 여러 선도적 LLM에 벤치마크를 적용한 결과, 모델에 따라 도덕적 추론 능력에 상당한 차이가 있음을 확인하였다. 이러한 결과는 LLM의 개발과 평가에서 도덕적 추론을 고려하는 것이 중요함을 보여 주며, 본 연구에서 드러난 편향과 한계를 해결하기 위한 지속적인 연구가 필요함을 시사한다. 벤치마크는 https://drive.google.com/drive/u/0/folders/1k93YZJserYc2CkqP8d4B3M3sgd3kA8W7 에서 공개하며, 프로젝트 코드도 https://github.com/agiresearch/MoralBench 에서 오픈소스로 공개한다.

arXiv:2502.13297v2cs.CL공식 코드 · Papers with Code

개인 수준 자연어 이해에서의 레이블 오류 이해와 해결

Understanding and Tackling Label Errors in Individual-Level Nature Language Understanding

자연어 이해(NLU)는 기계가 인간의 언어를 이해하도록 하는 과제이다. 입장 탐지와 감성 분석 같은 일부 과제는 개인의 주관적 관점과 밀접하게 관련되어 있어 개인 수준 NLU라고 불린다. 기존에는 이러한 과제가 개인적 요인을 무시한 채 텍스트 수준 NLU 과제로 단순화되는 경우가 많았다. 이는 추론을 어렵고 설명 불가능하게 만들 뿐 아니라, 데이터셋을 구축할 때 다수의 레이블 오류를 초래하는 경우가 많다. 위의 한계를 해결하기 위해 본 논문은 개인 수준 요인에 기반한 새로운 NLU 주석 지침을 제안한다. 구체적으로, 동일한 개인의 다른 게시물을 함께 반영하고, 해당 개인의 모든 게시물을 고려한 후 개인의 주관적 관점을 주석한다. 이 지침을 사용하여 입장 탐지 및 주제 기반 감성 분석 데이터셋을 확장하고 재주석하였다. 그 결과 표본의 오류율이 각각 $31.7\%$와 $23.3\%$에 달하는 것을 확인하였다. 나아가 재주석된 데이터셋에서 대규모 언어 모델로 실험을 수행한 결과, 개인적 요인을 추가한 후 두 데이터셋 모두에서 대규모 언어 모델이 우수한 성능을 보였다. GPT-4o와 Llama3-70B는 재주석 데이터셋에서 모두 87\%를 넘는 정확도를 달성할 수 있다. 또한 절제 연구를 통해 개인적 요인의 효과를 검증하였다. 향후 연구자들이 이러한 데이터셋을 구축할 때 개인적 요인을 추가할 것을 촉구한다. 재주석 데이터셋은 https://github.com/24yearsoldstudent/Individual-NLU 에서 확인할 수 있다.