Learn XS by sample