arXiv:2006.08698

Extrapolatable Relational Reasoning With Comparators in Low-Dimensional Manifolds

Duo Wang, Mateja Jamnik, Pietro Lio

제출 2020-06-15

원문 초록

While modern deep neural architectures generalise well when test data is sampled from the same distribution as training data, they fail badly for cases when the test data distribution differs from the training distribution even along a few dimensions. This lack of out-of-distribution generalisation is increasingly manifested when the tasks become more abstract and complex, such as in relational reasoning. In this paper we propose a neuroscience-inspired inductive-biased module that can be readily amalgamated with current neural network architectures to improve out-of-distribution (o.o.d) generalisation performance on relational reasoning tasks. This module learns to project high-dimensional object representations to low-dimensional manifolds for more efficient and generalisable relational comparisons. We show that neural nets with this inductive bias achieve considerably better o.o.d generalisation performance for a range of relational reasoning tasks. We finally analyse the proposed inductive bias module to understand the importance of lower dimension projection, and propose an augmentation to the algorithmic alignment theory to better measure algorithmic alignment with generalisation.

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

arXiv:2506.04289cs.LG공통 태그 Relational Reasoning, Inductive Bias

Relational reasoning and inductive bias in transformers trained on a transitive inference task

트랜스포머 기반 모델은 놀라운 추론 능력을 보여 왔지만, 관계적 추론의 근간이 되는 메커니즘은 여전히 잘 이해되지 않고 있습니다. 우리는 트랜스포머가 심리학의 고전적 관계적 추론 행동인 \textit{transitive inference}를 어떻게 수행하는지 조사합니다. 이 행동은 간접적으로 관련된 항목들에 대한 추론을 이끌어냅니다(예: $A > B$이고 $B > C$이면 $A > C$). 우리는 이러한 과제에서 in-weights learning(IWL)과 in-context learning(ICL)의 행동 및 메커니즘을 비교하고, 서로 매우 다른 일반화 패턴을 발견합니다. IWL 모델은 선형 임베딩을 학습하며, 이는 사람과 동물에서 관찰되는 다른 행동 효과뿐 아니라 transitive inference로도 이어집니다. 반면 ICL 모델은 전이적으로 일반화하도록 학습할 수는 있지만, 훈련 데이터가 이를 필요로 할 때에만 그렇게 하며, 그렇지 않으면 match-and-copy 전략을 학습합니다. 흥미롭게도, 잠재적 선형 표현을 제공하는 in-context 선형 회귀 과제로 ICL 모델을 사전학습시키는 것만으로도 ICL의 행동과 내부 표현을 정성적·정량적으로 IWL에 더 가깝게 만들기에 충분합니다. 동일한 추론 패턴이 대규모 언어 모델(LLM) 전반에서도 나타나는지 검증하기 위해, 우리는 훈련 데이터에 접근하지 않고도 IWL과 ICL의 일반화 패턴을 구분적으로 탐지할 수 있는 congruency 패러다임을 활용합니다. 실제로 IWL 추론이 ICL보다 더 많은 전이적 일반화를 유도하는 것을 확인합니다. 더 나아가, ICL 모델이 선형적 정신 지도를 사용하도록 프롬프트를 주었을 때 서로 다른 기하학적 프롬프트 전반에서 transitive inference가 증가함을 발견합니다. 종합하면, 이러한 결과는 학습 방식과 유도된 표현의 기하학적 구조가 트랜스포머의 transitive inference 능력을 결정하는 데 매우 중요함을 보여 줍니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.